package com.huitu.whht.ribbon_customer_feign.Service;

import com.huitu.whht.ribbon_customer_feign.Service.Impl.HelloSeviceImpl;
import com.huitu.whht.ribbon_customer_feign.Service.Impl.SzyServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@Service
@FeignClient(value = "hbszy",fallback= SzyServiceImpl.class)
public interface ISzyService {

    /**
     * 远程调用涡阳水资源接口
     * @return
     */
    @RequestMapping(value = "rest/generate/chemcat/b/list",method = RequestMethod.POST)
    Object selectList();
}
